<template>
  <div class="form-title-wrap">
    <div class="form-line"></div>
    <p class="form-title">{{ title }}</p>
  </div>
</template>
<script>
export default {
  name: "ZtcFormTitle",
  props: {
    title: {
      type: String,
      default: "条件"
    }
  }
};
</script>

<style scoped>
.form-title-wrap {
  position: relative;
}
.form-line {
  position: absolute;
  left: 0;
  top: 5px;
  height: 40px;
  width: 4px;
  background: #ffe23e;
  border-radius: 3px;
}
.form-title {
  font-size: 18px;
  font-weight: bold;
  height: 50px;
  line-height: 50px;
  padding-left: 20px;
}
</style>
